/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.subrecord.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.subrecord.entity.SubRecord;

import java.util.List;

/**
 * 认购记录MAPPER接口
 * @author w
 * @version 2021-03-26
 */
@MyBatisMapper
public interface SubRecordMapper extends BaseMapper<SubRecord> {

    List<SubRecord> findListByDays(SubRecord subRecord);

    Double getTodayRecord();
    Double getTotalRecord();
    List<SubRecord> findTodayList(SubRecord subRecord);

    List<SubRecord> findLimitList(SubRecord subRecord);

    Double findAllSubMoney();

}